﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace NetDiskPRJ.Model
{
    public class MenuItemTag
    {
        public MenuItemTag()
        {

        }
        private string version;
        /// <summary>
        /// 菜单版本号 
        /// 1-标准版 2-专业版 3-宇宙版
        /// </summary>
        public string Version
        {
            set { version = value; }
            get { return version; }
        }
    }
    public class Buttons
    {
        public string BtnCaption { set; get; }
        public string BtnToolTip { set; get; }
        public ButtonType BtnType { set; get; }
        /// <summary>
        /// 按钮name属性
        /// </summary>
        public string BtnName { set; get; }
    }
    public enum ButtonType
    {
        /// <summary>
        /// 关闭
        /// </summary>
        close = 0,
        /// <summary>
        /// 删除
        /// </summary>
        delete = 1,
        /// <summary>
        /// 刷新
        /// </summary>
        refresh = 2,
        /// <summary>
        /// 发送留言
        /// </summary>
        sendmsg = 3,
        /// <summary>
        /// 回复留言
        /// </summary>
        reply = 4,
        /// <summary>
        /// 详细信息
        /// </summary>
        detail = 5,
        /// <summary>
        /// 收藏
        /// </summary>
        collect = 6,
        /// <summary>
        /// 查询，一般用于打开查询窗口界面
        /// </summary>
        query = 7,
        /// <summary>
        /// 保存
        /// </summary>
        save = 8,
        /// <summary>
        /// 增加
        /// </summary>
        add = 9,
        /// <summary>
        /// 修改，编辑
        /// </summary>
        edit = 10,
        /// <summary>
        /// 增加明细
        /// </summary>
        addEntry = 11,
        /// <summary>
        /// 删除明细
        /// </summary>
        deleteEntry = 12,
        /// <summary>
        /// 查看，一般用于查看详细资料
        /// </summary>
        look = 13,
        /// <summary>
        /// 收回
        /// </summary>
        drawBack = 14,
        /// <summary>
        /// 评价
        /// </summary>
        opinion = 15,
        /// <summary>
        /// 受理
        /// </summary>
        assign = 16,
        /// <summary>
        /// 处理
        /// </summary>
        dealWith = 17,
        /// <summary>
        /// 审核
        /// </summary>
        check = 18,
        //回收、评价、受理、处理、确认=OK、审核
        /// <summary>
        /// 表扬
        /// </summary>
        praise,
        /// <summary>
        /// 投诉
        /// </summary>
        complain,
        /// <summary>
        /// 加好友
        /// </summary>
        addFriend,
        #region 地图相关类按钮
        /// <summary>
        /// 画圆
        /// </summary>
        drawCircle,
        /// <summary>
        /// 画矩形
        /// </summary>
        drawRectangle,
        /// <summary>
        /// 画多边形
        /// </summary>
        drawPolygon,
        /// <summary>
        /// 标记位置
        /// </summary>
        drawPosition,
        /// <summary>
        /// 移动地图
        /// </summary>
        moveMap,
        /// <summary>
        /// 求购信息，房源信息按地图查询按钮
        /// </summary>
        queryMap,
        #endregion
        /// <summary>
        /// 员工调动
        /// </summary>
        transferEmployee,
        /// <summary>
        /// 恢复默认值
        /// </summary>
        restoreDefault,
        /// <summary>
        /// 修改联系人
        /// </summary>
        editClient,
        /// <summary>
        /// 保存并新增
        /// </summary>
        saveAdd,
        /// <summary>
        /// 全部选中
        /// </summary>
        selectRowAll,
        /// <summary>
        /// 取消选中
        /// </summary>
        unselectRow,
        /// <summary>
        /// 全部反选
        /// </summary>
        inverseSelectRowAll,
        /// <summary>
        /// 信息分配
        /// </summary>
        assignInfo,
        /// <summary>
        /// 离职处理
        /// </summary>
        leavePosition,
        /// <summary>
        /// 复职处理
        /// </summary>
        reinstatePosition,
        /// <summary>
        /// 高级查询，一般用于打开通用查询窗口界面
        /// </summary>
        queryAdvance,
        /// <summary>
        /// 归档，包括房源归档、求购信息归档、合同归档
        /// </summary>
        file,
        /// <summary>
        /// 联系跟进，房源跟进，求购信息跟进，合作跟进
        /// </summary>
        follow,
        /// <summary>
        /// 房源查询，求购信息查询时，清空条件按钮
        /// </summary>
        clear,
        /// <summary>
        /// 信息配对
        /// </summary>
        match,
        /// <summary>
        /// 房源方发出的邀请合作
        /// </summary>
        invitePartner,
        /// <summary>
        /// 求购方发出的合作请求，即看房申请
        /// </summary>
        lookHouseApply,
        /// <summary>
        /// 延迟
        /// </summary>
        delay,
        /// <summary>
        /// 中止合作
        /// </summary>
        stopCooperation,
        /// <summary>
        /// 看房提醒
        /// </summary>
        lookHouseRemind,
        /// <summary>
        /// 看房反馈
        /// </summary>
        lookHouseFeedback,
        /// <summary>
        /// 已租售提醒
        /// </summary>
        rentsaleRemind,
        /// <summary>
        /// 打印
        /// </summary>
        print,
        /// <summary>
        /// 查看关联信息
        /// </summary>
        associatedInfo,
        /// <summary>
        /// 清除配对信息
        /// </summary>
        clearMatch,
        /// <summary>
        /// 不打印
        /// </summary>
        dontPrint,
        /// <summary>
        /// 作废
        /// </summary>
        invalid,
        /// <summary>
        /// 导出Excel
        /// </summary>
        exportExcel,
        /// <summary>
        /// 暂不归档
        /// </summary>
        dontArchive,
        /// <summary>
        /// 预归档
        /// </summary>
        preArchive,
        /// <summary>
        /// 归档
        /// </summary>
        archive,
        /// <summary>
        /// 取消预归档
        /// </summary>
        backPreArchive,
        /// <summary>
        /// 上传
        /// </summary>
        upload,
        /// <summary>
        /// 新建文件夹
        /// </summary>
        createDir,
        /// <summary>
        /// 下载
        /// </summary>
        downLoad,
        /// <summary>
        /// 重命名
        /// </summary>
        reName,
        /// <summary>
        /// 移动
        /// </summary>
        move,
        /// <summary>
        /// 复制到
        /// </summary>
        copy

    }
}
